package com.service.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.service.dao.model.SysConfig;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysConfigMapper extends BaseMapper<SysConfig> {

    SysConfig selectByName(@Param("name") String name);

    List<SysConfig> selectByGroup(@Param("group") Integer group);

    SysConfig selectByNameAndGroup(@Param("name") String name, @Param("group") Integer group);
}